package pers.xiaojun.boot.module.infra.controller.file.vo.file;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 文件预签名信息响应对象
 *
 * @author xiaojun
 * @since 2025-11-21
 */
@Schema(description = "文件预签名信息响应对象-VO")
@Data
@Accessors(chain = true)
public class FilePresignedUrlRespVO {

    @Schema(description = "配置编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Long configId;

    @Schema(description = "文件上传 URL", requiredMode = Schema.RequiredMode.REQUIRED)
    private String uploadUrl;

    @Schema(description = "文件访问 URL", requiredMode = Schema.RequiredMode.REQUIRED)
    private String url;

    @Schema(description = "文件路径", requiredMode = Schema.RequiredMode.REQUIRED, example = "/test/xxx.png")
    private String path;

}
